package cloudEntity.entity.news;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * 智慧校园新闻表(SmartNews)表实体类
 *
 * @author makejava
 * @since 2025-04-13 20:44:20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class SmartNewsEntity implements Serializable {
//智慧校园新闻（自增ID）
    private Long sysNewsId;
//智慧校园新闻标头
    private String sysNewsTitle;
//智慧校园新闻描述
    private String sysNewsDescription;
//智慧校园新闻图片
    private String sysNewsPic;
//智慧校园新闻类型
    private String sysNewsType;
    private String sysNewsCreaterUserUid;
    private String sysNewsCreaterUserName;
//智慧校园新闻创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date sysNewsCreateTime;
//智慧校园新闻修改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date sysNewsUpdateTime;

}

